package ru.pachkun.home.pages;

import static org.openqa.selenium.support.ui.ExpectedConditions.presenceOfElementLocated;

import org.openqa.selenium.By;

public class EMSRegistrationPage extends Page {

	public EMSRegistrationPage(PageManager pages) {
		super(pages);
	}
	
	@Override
	public EMSRegistrationPage ensurePageLoaded() {
		super.ensurePageLoaded();
		wait.until(presenceOfElementLocated(By.name("EMSAddOperForm")));
		return this;
	}

}
